Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency clevertap-react-native to v3 #6380

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
clevertap-react-native ^2.2.1 -> ^3.2.0 age adoption passing confidence

Release Notes

CleverTap/clevertap-react-native (clevertap-react-native)

v3.2.0

Compare Source

What's new

  • Adds support for triggering InApps based on first-time event filtering in multiple triggers. Now you can create campaign triggers that combine recurring and first-time events. For example: Trigger a campaign when "Charged" occurs (every time) OR "App Launched" occurs (first time only).
  • Adds new user-level event log tracking system to store and manage user event history. New APIs include:
    • getUserEventLog(<eventName>): Get details about a specific event
    • getUserEventLogCount(<eventName>): Get count of times an event occurred
    • getUserLastVisitTs(): Get timestamp of user's last app visit
    • getUserAppLaunchCount(): Get total number of times user has launched the app
    • getUserEventLogHistory(): Get full event history for current user
API Changes
  • Deprecates: The old event tracking APIs tracked events at the device level rather than the user level, making it difficult to maintain accurate user-specific event histories, especially in multi-user scenarios. The following methods have been deprecated in favor of new user-specific event tracking APIs that provide more accurate, user-level analytics. These deprecated methods will be removed in future versions with prior notice:
    • eventGetDetail(): Use getUserEventLog() instead for user-specific event details
    • eventGetOccurrences(): Use getUserEventLogCount() instead for user-specific event counts
    • eventGetFirstTime(): Use getUserEventLog() instead for user-specific first occurrence timestamp
    • eventGetLastTime(): Use getUserEventLog() instead for user-specific last occurrence timestamp
    • sessionGetPreviousVisitTime(): Use getUserLastVisitTs() instead for user-specific last visit timestamp
    • sessionGetTotalVisits(): Use getUserAppLaunchCount() instead for user-specific app launch count
    • getEventHistory(): Use getUserEventLogHistory() instead for user-specific event history

v3.1.1

Compare Source

Bug Fixes

  • [iOS Platform]
    • Fixes a bug where the push notification callback was getting triggered twice in killed state.

v3.1.0

Compare Source

What's new

  • [Android Platform]

  • [iOS Platform]

  • [Android and iOS Platform]

    • Adds support for File Type Variables in Remote Config. Please refer to the Remote Config Variables doc to read more on how to integrate this in your app.
    • Adds support for Custom Code Templates. Please refer to the CustomCodeTemplates.md doc to read more on how to integrate this in your app.
    • Adds support for custom code in-app templates definitions through a json scheme.

Bug Fixes

v3.0.0

Compare Source

What's new

  • [Android Platform]

    • Supports CleverTap Android SDK v7.0.1.
    • Removes character limit of maximum 3 lines from AppInbox messages.
    • Deprecates CleverTapModule.setInitialUri() in favour of CleverTapRnAPI.setInitialUri(). Refer to step 4
  • [iOS Platform]

  • [Android and iOS Platform]

    • Adds support for triggering InApps based on user attribute changes.
    • Migrates the bridge to a backwards-compatible New Architecture Turbo Module.
      • The CleverTap ReactNative SDK continues to be compatible with both the Old and the New Architecture.

Breaking Changes

  • [Android Platform]
    • Ensure that your custom Application class, extends the CleverTapApplication or calls CleverTapRnAPI.initReactNativeIntegration(this); to enable the functionality of ClevertapPushNotificationClicked and few other callbacks linked to killed state. Refer to step 3

Bug Fixes

  • [Android Platform]
    • Fixes an ANR caused by extremely old InApp campaigns.
    • Fixes an issue where incorrect callbacks were sent for InApps when the phone was rotated.
    • Fixes an issue where an InApp was displayed even after all the campaigns were stopped.
    • Fixes an issue where the InApp image was not shown when the phone was rotated to landscape.
    • Fixes an issue where certain URLs loaded incorrectly in custom HTML InApp templates.

Configuration

📅 Schedule: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles.

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.05%. Comparing base (121e7c9) to head (4a59800).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6380      +/-   ##
==========================================
- Coverage   89.06%   89.05%   -0.02%     
==========================================
  Files         729      729              
  Lines       31822    31822              
  Branches     5814     6135     +321     
==========================================
- Hits        28343    28339       -4     
+ Misses       3432     3286     -146     
- Partials       47      197     +150     

see 68 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 121e7c9...4a59800. Read the comment docs.

@renovate renovate bot force-pushed the renovate/clevertap-react-native-3.x branch 6 times, most recently from 055b73e to 7b9657f Compare December 23, 2024 22:35
@renovate renovate bot force-pushed the renovate/clevertap-react-native-3.x branch 11 times, most recently from eb36e7c to 53d1674 Compare January 9, 2025 03:14
@renovate renovate bot force-pushed the renovate/clevertap-react-native-3.x branch 8 times, most recently from 95a4f98 to 59062d3 Compare January 14, 2025 09:12
@renovate renovate bot force-pushed the renovate/clevertap-react-native-3.x branch 17 times, most recently from cfecba0 to 7a91e92 Compare February 4, 2025 12:35
@renovate renovate bot force-pushed the renovate/clevertap-react-native-3.x branch 11 times, most recently from ca43342 to 128555f Compare February 10, 2025 15:13
@renovate renovate bot force-pushed the renovate/clevertap-react-native-3.x branch from 128555f to 4a59800 Compare February 10, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants